package comday07.itheima02;

public class Demo01 {
    public static void main(String[] args) {
        //创建对象
        Student s = new Student();

        //赋值
        s.name = "马冬梅";
        s.sex = "女";

        //调用方法赋值
        s.setAge(23);


        System.out.println("姓名是" + s.name + "性别是" + s.sex + "年龄是" + s.getAge());


        s.show();

    }
}
